projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ca309b
)
Fall back to the builtin icons for spinbutton +/-
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 Jan 2012 22:15:17 +0000
(17:15 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 Jan 2012 22:15:17 +0000
(17:15 -0500)
We do have list-add/-remove icons in the builtin icon theme,
so why not use them ?
gtk/gtkspinbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkspinbutton.c
b/gtk/gtkspinbutton.c
index f805ec274f2adc0e364953c4a4e01364f260cd74..b2af839d233961f513a265ff8d5443c5284373a3 100644
(file)
--- a/
gtk/gtkspinbutton.c
+++ b/
gtk/gtkspinbutton.c
@@
-626,7
+626,8
@@
create_one_pixbuf (GtkStyleContext *context,
icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (),
icon_name, size,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK);
+ GTK_ICON_LOOKUP_GENERIC_FALLBACK |
+ GTK_ICON_LOOKUP_USE_BUILTIN);
if (icon_info != NULL)
{